using System;
using System.Collections.Generic;

namespace SharpDropBoxClient
{
    public class MetadataCallResult
    {
        public string Path
        { get; set; }

        public bool Cached
        { get; set; }

        public IDictionary<string, object> Dictionary
        { get; set; }

        public DBoxListing DirInfo
        { get; set; }

        public Exception Error
        { get; set; }

        public MetadataCallResult()
        {
        }

        public MetadataCallResult(string path, bool cached, IDictionary<string, object> dictionary, DBoxListing dirInfo, Exception error)
        {
            Path = path;
            Cached = cached;
            Dictionary = dictionary;
            DirInfo = dirInfo;
            Error = error;
        }
    }
}